package cn.csc.module.order.controller.app.order.vo;

import cn.csc.module.order.controller.app.vo.OrderAddrVO;
import cn.csc.module.order.controller.app.vo.OrderRespVO;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Data
public class AppOrderDetailRespVO {
    @Schema(description = "订单ID" )
    private BigInteger orderId;
    @Schema(description = "用户昵称" )
    private String nickName ;

    @Schema(description = "用户手机" )
    private String memberPhone ;
    @Schema(description = "总值" )
    private BigDecimal total;

    @Schema(description = "单个orderItem的配送类型1.快递物流(默认）,2.送货上门,3.自提" )
    private Integer deliveryType;

    @Schema(description = "订单关闭原因 1-超时未支付 4-买家取消 15-已通过货到付款交易" )
    private Integer closeType;

    @Schema(description = "订单商品总数" )
    private Integer allCount;


    private List<OrderRespVO> orderRespVO;

    @Schema(description = "订单地址" )
    private OrderAddrVO orderAddr;

    @ApiModelProperty(value = "购物车主键id")
    private List<Long> shopCartId;


}
